package com.example.demo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * student 点击查看我的借阅
 * 视图上的数据
 */
@Data
public class StudentBorrowVo {
    private String id; // bookId
    private String book_name; // bookName
    private String author;
    private String subject; // book subject
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date borrowDate;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date backDate;
}
